<?php

class Junction_Builder_Class {
	/**
	 * String representing the database table for this class.
	 *
	 * @var String
	 */
	public $tablename;
	
	/**
	 * String representing the class's name.
	 *
	 * @var String
	 */
	public $classname;
	
	/**
	 * @var Junction_Builder_Property
	 */
	public $id;
	
	/**
	 * Collection of properties representing the rest of the
	 * table's columns.
	 *
	 * @var array
	 */
	public $properties;
	
	public $directReferences;
	
	public function __construct($name, $table) {
		$this->classname = $name;
		$this->tablename = $table;
	}
}
?>